package com.yxy.chatserver.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component // 将当前类注入到spring容器中
@ConfigurationProperties(prefix = "chat.aes")
@Data
public class AESProperties {

    // aes密钥
    private String secretKey;
}
